/**
 * 
 */
package com.juyu.miliao.api.dao.mysql;

import com.juyu.miliao.api.domain.Suspend;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author pengs
 *
 */
@Repository
public class SuspendDao {
     @Autowired
     private SqlSession sqlSession;

	public Suspend getSuspendsByUserId(long userId) {
		return sqlSession.selectOne("getSuspendsByUserId",userId);
	}
}
